package game_engine.test;

import game_engine.core.EntityGroup;

public class GameTest2 {
	
	public static EntityGroup enemies;
	
	
	public GameTest2() {
		startGame();
	}
	private void startGame() {
				
		enemies = new EntityGroup();
		
//		GECore.addEntityGroup(enemies);
				
//		while(!GEWindowOGL.loaded) {
//			try {
//				Thread.sleep(100);
//			} catch (InterruptedException e) {
//				e.printStackTrace();
//			}
//		}
//		for(int i = 0 ;i<15000;i++) {
//				Entity e = new Enemy2(GEWindowOGL.textureLoader, "enemy " + (i+1));
//				e.setPosition(new Vector2f(new Random().nextInt(GEWindowOGL.resolution.width-128), new Random().nextInt(GEWindowOGL.resolution.height-128)));
//				e.setBox(new Rectangle(0, 0, 30, 30));
//				enemies.addEntity(e);
//		}
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
//		GEWindowOGL game = new GEWindowOGL(new Dimension(480, 600), "Test GE");
//		GECore core = new GECore(); 
		GameTest2 gt = new GameTest2();
	}
}
